<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml">
	<HEAD>
		<base href="<%=basePath%>"/>
		<TITLE>${his.hospitalName}-登录</TITLE>
		<META content="text/html; charset=gb2312" http-equiv=Content-Type>
		<LINK rel=stylesheet type=text/css href="style/css.css">
		<META name=GENERATOR content="MSHTML 8.00.7600.16766">
		<style>
			.yincang{display:none;}
		</style>
			<script src="js/jquery.js" type="text/javascript"></script>
	</HEAD>
	<BODY>
		<TABLE border=0 cellSpacing=0 cellPadding=0 width=779 align=center>
			<TBODY>
				<TR>
					<TD height=61 vAlign=top align=left>
						<TABLE border=0 cellSpacing=0 cellPadding=0 width=779 height=61>
							<TBODY>
								<TR>
									<TD vAlign=top width=321 align=left>
										<img src="images/icon/${his.hospitalLogo}" />
									</TD>
									<TD vAlign=top align=right>
										<TABLE style="MARGIN-TOP: 31px; MARGIN-RIGHT: 5px" border=0
											cellSpacing=0 cellPadding=0>
											<TBODY>
												<TR>
													<TD vAlign=center align=right>
														·
														<A href="front/index.jsp">首页</A> ·
														<span><a href="front/regedit.jsp">注册</a> </span>
														·
														<a href="connect.do?method=showConnect">联系我们</a>
													</TD>
												</TR>
											</TBODY>
										</TABLE>
									</TD>
								</TR>
							</TBODY>
						</TABLE>
					</TD>
				</TR>
				<TR>
					<TD height=170 vAlign=top align=left>
						<TABLE border=0 cellSpacing=0 cellPadding=0 width=779 height=170>
							<TBODY>
								<TR>
									<TD>
										<OBJECT
											codeBase="#"
											classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 width=779
											height=170>
											<PARAM NAME="movie" VALUE="media/banner.swf">
											<PARAM NAME="quality" VALUE="high">
											<embed src="media/banner.swf" quality="high"
												pluginspage="#"
												type="application/x-shockwave-flash" width="779"
												height="170"></embed>
										</OBJECT>
									</TD>
								</TR>
								
							</TBODY>
						</TABLE>
					</TD>
				</TR>
				
			</TBODY>
		</TABLE>
		<TABLE style="MARGIN-TOP: 7px" border=0 cellSpacing=0 cellPadding=0
			width=779 align=center>
			<TBODY>
				<TR>
					<TD class=bgxz_zhong_bk bgColor=#f6f9fb vAlign=top width=197
						align=left>
						<jsp:include page="left.jsp"></jsp:include>
					</TD>
					<TD vAlign=top width=11 align=left>
						&nbsp;
					</TD>
					<TD class=bk vAlign=top width=567 align=left>
						<TABLE style="MARGIN-BOTTOM: 50px" border=0 cellSpacing=0
							cellPadding=0 width=567>
							<TBODY>
								<TR>
									<TD class=ind_zhong_bj bgColor=#ffffff height=28 vAlign=top
										align=right>
										<TABLE style="MARGIN-TOP: 4px; MARGIN-RIGHT: 10px" border=0
											cellSpacing=0 cellPadding=0 width=536>
											<TBODY>
												<TR>
													<TD vAlign=center align=left>
														<STRONG><FONT color=#0b5596>登录</FONT> </STRONG>
													</TD>
													<TD vAlign=center align=right>
														<A class=ztys_0B5596
															href="#">首页</A><SPAN
															class=ztys_0B5596>－登录</SPAN><A class=ztys_0B5596
															href="#"></A>
													</TD>
												</TR>
											</TBODY>
										</TABLE>
									</TD>
								</TR>
								<TR>
									<TD bgColor=#ffffff vAlign=top align=left>
										<TABLE style="MARGIN-TOP: 31px; MARGIN-LEFT: 85px" border=0
											cellSpacing=0 cellPadding=0 width=405 height=445>
											<TBODY>
												<TR>
													<TD height=230 vAlign=top align=left>
														<TABLE border=0 cellSpacing=0 cellPadding=0 width=405
															height=230>
															<TBODY>
																<TR>
																	<TD height=10>
																		<IMG src="images/dl_03.gif" width=405 height=40>
																	</TD>
																</TR>
																<SCRIPT>
																	function formcheck()
																	{
																	if (document.login.username.value=="")
																		{alert ("请输入用户名");return false;}
																	if (document.login.password.value=="")
																	{alert ("请输入密码");return false;}
																	return true;
																	}
																	function ffff()
																	{
																	login.reset()
																	}
																</SCRIPT>

																<TR>
																	<TD bgColor=#76acdf height=159 vAlign=bottom
																		align=center>
																		<span id=yh style="cursor:pointer;color:#ffffff">用户登陆</span>&nbsp; &nbsp; 
																		<span id=ys style="cursor:pointer;color:red">医生登陆</span> 
																		<br/>
																<FORM onsubmit="return formcheck();"
																	method=post name=login action="user.do?method=userLogin" id=user>
																		<TABLE border=0 cellSpacing=0 cellPadding=0 width=256>
																			<TBODY>
																				<TR>
																					<TD height=30 vAlign=top width=45>
																						<FONT color=#ffffff>用户名</FONT>
																					</TD>
																					<TD class=jj_l_5 height=30 vAlign=top width=211
																						align=left>
																						<INPUT class=dl_bk size=26 type="text" name="uname" value="${cookiename}"/>
																					</TD>
																				</TR>
																				<TR>
																					<TD height=30 vAlign=top width=40>
																						<FONT color=#ffffff>密 码</FONT>
																					</TD>
																					<TD class=jj_l_5 height=30 vAlign=top width=211
																						align=left>
																						<INPUT class=dl_bk size=28 type="password" name="upass" value="${cookiepass}"/>
																					</TD>
																				</TR>
																				<TR>
																					<TD height=30 vAlign=top width=40>
																						&nbsp;
																					</TD>
																					<TD height=30 vAlign=top width=211 align=left>
																						<INPUT value=1 type=checkbox name=cook />
																						<FONT color=#ffffff>记住密码</FONT>
																						<br>
																						<font style="font-weight: bold;"> ${loginError}</font>
																					</TD>
																				</TR>
																				<TR>
																					<TD height=38 colSpan=2>
																						<TABLE border=0 cellSpacing=0 cellPadding=0
																							width=256>
																							<TBODY>
																								<TR>
																									<TD align=center>
																										<INPUT border=0 src="images/dl_07.gif"
																											width=72 height=25 type=image>
																									</TD>
																									<TD align=center>
																										<A href="front/regedit.jsp"><IMG border=0
																												src="images/dl_09.gif" width=72 height=25>
																										</A>
																									</TD>
																								</TR>
																							</TBODY>
																						</TABLE>
																					</TD>
																				</TR>
																			</TBODY>
																		</TABLE>
																		</FORM>
																		
																		
																		<FORM  onsubmit="return formcheck();"
																	method=post name=login action="doctor.do?method=doctorLogin" id=doctor class=yincang>
																		<TABLE border=0 cellSpacing=0 cellPadding=0 width=256>
																			<TBODY>
																				<TR>
																					<TD height=30 vAlign=top width=45>
																						<FONT color=#ffffff>医生名</FONT>
																					</TD>
																					<TD class=jj_l_5 height=30 vAlign=top width=211
																						align=left>
																						<INPUT class=dl_bk size=26 type="text" name="docname" value="${doccookiename }" />
																					</TD>
																				</TR>
																				<TR>
																					<TD height=30 vAlign=top width=40>
																						<FONT color=#ffffff>密 码</FONT>
																					</TD>
																					<TD class=jj_l_5 height=30 vAlign=top width=211
																						align=left>
																						<INPUT class=dl_bk size=28 type="password" name="docpass" value="${doccookiepass }"/>
																					</TD>
																				</TR>
																				<TR>
																					<TD height=30 vAlign=top width=40>
																						&nbsp;
																					</TD>
																					<TD height=30 vAlign=top width=211 align=left>
																						<INPUT value=2 type=checkbox name=cook1 />
																						<FONT color=#ffffff>记住密码</FONT>
																					</TD>
																				</TR>
																				<TR>
																					<TD height=38 colSpan=2>
																						<TABLE border=0 cellSpacing=0 cellPadding=0
																							width=256>
																							<TBODY>
																								<TR>
																									<TD align=right>
																										<INPUT border=0 src="images/dl_07.gif"
																											width=72 height=25 type=image>
																									</TD>
																									<TD align=middle>
																										<A href="regedit.jsp"><IMG border=0
																												src="images/dl_09.gif" width=72 height=25>
																										</A>
																									</TD>
																								</TR>
																							</TBODY>
																						</TABLE>
																					</TD>
																				</TR>
																			</TBODY>
																		</TABLE>
																		</FORM>
																		
																		
																		
																	</TD>
																</TR>
															
																<TR>
																	<TD height=31>
																		<IMG src="images/dl_13.gif" width=405 height=31>
																	</TD>
																</TR>
															</TBODY>
														</TABLE>
													</TD>
												</TR>
												<TR>
													<TD vAlign=top align=left>
														<TABLE border=0 cellSpacing=0 cellPadding=0 width=405>
															<TBODY>
																<TR>
																	<TD vAlign=top align=left>
																		<STRONG>查询步骤</STRONG>
																		<BR>
																		1、选择注册
																		<BR>
																		(已经在网上挂号注册过的用户可以直接输入网上挂号的用户名和密码登陆)
																		<BR>
																		输入个人自定的账号和密码；
																		<BR>
																		输入姓名、电话号码、医保卡号或复诊卡号；
																		<BR>
																		电脑自动核对病人信息；
																		<BR>
																		注册成功，进入查化验单程序
																		<BR>
																		2、查询结果
																		<BR>
																		根据时间和检查项目选择相应的科室
																		<BR>
																	</TD>
																</TR>
															</TBODY>
														</TABLE>
													</TD>
												</TR>
											</TBODY>
										</TABLE>
									</TD>
								</TR>
							</TBODY>
						</TABLE>
					</TD>
				</TR>
			</TBODY>
		</TABLE>
		<TABLE style="MARGIN-TOP: 13px" border=0 cellSpacing=0 cellPadding=0
			width=779 align=center height=114>
			<TBODY>
				<TR>
					<TD class=ind_bottom_bj height=29 vAlign=top align=middle>
						<TABLE style="MARGIN-TOP: 3px" border=0 cellSpacing=0
							cellPadding=0>
							<TBODY>
							</TBODY>
						</TABLE>
					</TD>
				</TR>
				<TR>
					<TD height=85 vAlign=top align=middle>
						<TABLE style="MARGIN-TOP: 5px" border=0 cellSpacing=0
							cellPadding=0>
							<TBODY>
								<TR>
									<TD vAlign=center align=middle>
										<jsp:include page="yejiao.jsp"></jsp:include>
									</TD>
								</TR>
							</TBODY>
						</TABLE>
					</TD>
				</TR>
			</TBODY>
		</TABLE>
				<script type="text/javascript">
				$("#yh").bind("click",function(){
					$("#user").slideDown("slow"); 
					$("#doctor").slideUp("slow");
					$("#yh").css("color","#ffffff");
					$("#ys").css("color","red");
				});
				$("#ys").bind("click",function(){
					$("#doctor").slideDown("slow"); 
					$("#user").slideUp("slow");
					$("#ys").css("color","#ffffff");
					$("#yh").css("color","red");
				});
		</script>
	</BODY>
</HTML>
